﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;

namespace Stackoverflow.Core.Base
{
    public interface IRepository<T>
    {
        IQueryable<T> DbSet();
        T GetBy(Guid id);
        IList<T> GetAll();
        int Update(T obj);
        int Add(T obj);
        int Remove(Guid id);
    }
}